﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UCKhachHang_ThongTinThe.ascx.cs" Inherits="Admin_UCControls_UCKhachHang_Duyet" %>
<br />

<div style="border-bottom: #BFC9AE dashed 1px;">Thông tin duyệt thẻ</div>
<br />

    <div style="overflow: scroll; height: 300px">
     <asp:GridView Width="100%" ID="GridThongTinDuyet" runat="server" AutoGenerateColumns="False"
                          CssClass="mGrid"  
                          PagerStyle-CssClass="pgr" EmptyDataText="Chưa có dữ liệu" EmptyDataRowStyle-ForeColor="Blue" 
                          AlternatingRowStyle-CssClass="alt" >
              <Columns>
              
                   <asp:TemplateField HeaderText="Mã TT">
                    <ItemTemplate>
                        <%# Eval("MaThanhToan") %>
                    </ItemTemplate>
                    </asp:TemplateField>
                    
                   <asp:TemplateField HeaderText="Tên mẫu thẻ">
                    <ItemTemplate>
                        <%# Eval("TenMauThe") %>
                    </ItemTemplate>
                    </asp:TemplateField>
                    
                     <asp:TemplateField HeaderText="Ngày duyệt">
                    <ItemTemplate>
                        <%# Eval("NgayDuyet") %>
                    </ItemTemplate>
                    </asp:TemplateField>
                    
                    <asp:TemplateField HeaderText="Người duyệt" >
                    <ItemTemplate>
                        <%# Eval("TenNguoiDung") %>
                    </ItemTemplate>
                    </asp:TemplateField>
                    
                    <asp:TemplateField HeaderText="Trạng Thái">
                    <ItemTemplate>
                        <%# TrangThaiDuyet(Eval("TrangThaiDuyet")) %>
                    </ItemTemplate>
                    </asp:TemplateField>
                    
                     
               </Columns>
                  
     </asp:GridView>

</div>

<br />
<div style="border-bottom: #BFC9AE dashed 1px;">Thông tin chi tiết</div>
<br />



    <table width="100%">
        <tr class="trStyle">
          <%-- <td>
              Mã thanh toán:&nbsp;<asp:Label ID="lblMaThanhToan" runat="server" CssClass="labelStyle"
                    Text="Label"></asp:Label>
           </td>--%>
            <td colspan="2">
               Ngày đăng ký : &nbsp;<asp:Label ID="lblNgayDangKy" runat="server" CssClass="labelStyle"
                    Text="Label"></asp:Label></td>
          
        </tr>
        <tr class="trStyle">
            <td>
                Ngày nhận thẻ : &nbsp;<asp:Label ID="lblNgayNhanThe" runat="server" CssClass="labelStyle"
                    ></asp:Label></td>
            <td>
                Ngày hết hạn : &nbsp;<asp:Label ID="lblHetHan" runat="server" CssClass="labelStyle"
                    ></asp:Label></td>
        </tr>
        <tr class="trStyle">
            <td colspan="2" style="height: 21px">
                Phương thức thanh toán : &nbsp;<asp:Label ID="lblPTTT" runat="server" CssClass="labelStyle"
                    ></asp:Label> </td>
        </tr>
     
    </table>
   
    
    <br />
    <div style="overflow: scroll; height: 300px">
     <asp:GridView Width="100%" ID="GridThongTinThe" runat="server" AutoGenerateColumns="False"
                          CssClass="mGrid"  
                          PagerStyle-CssClass="pgr" EmptyDataText="Chưa có dữ liệu" EmptyDataRowStyle-ForeColor="Blue" 
                          AlternatingRowStyle-CssClass="alt" >
              <Columns>
              
                   <asp:TemplateField HeaderText="Mã TT">
                    <ItemTemplate>
                        <%# Eval("MaThanhToan") %>
                    </ItemTemplate>
                    </asp:TemplateField>
                    
                   <asp:TemplateField HeaderText="Chủ đề">
                    <ItemTemplate>
                        <%# Eval("TenChuDe") %>
                    </ItemTemplate>
                    </asp:TemplateField>
                    
                     <asp:TemplateField HeaderText="Loại thẻ">
                    <ItemTemplate>
                        <%# Eval("LoaiThe") %>
                    </ItemTemplate>
                    </asp:TemplateField>
                    
                    <asp:TemplateField HeaderText="Mẫu thẻ" >
                    <ItemTemplate>
                        <%# Eval("TenMauThe") %>
                    </ItemTemplate>
                    </asp:TemplateField>
                    
                    <asp:TemplateField HeaderText="SL">
                    <ItemTemplate>
                        <%# Eval("SoLuong") %>
                    </ItemTemplate>
                    </asp:TemplateField>
                    
                     <asp:TemplateField HeaderText="Mệnh giá">
                    <ItemTemplate>
                        <%# Convert.ToDouble(Eval("MenhGia")).ToString("0,000.##")%>
                    </ItemTemplate>
                    </asp:TemplateField>
                    
                     <asp:TemplateField HeaderText="Thành tiền">
                    <ItemTemplate>
                        <%# Convert.ToDouble(Eval("ThanhTien")).ToString("0,000.##")%>
                    </ItemTemplate>
                    </asp:TemplateField>
               </Columns>
                  
     </asp:GridView>

</div>

